import MapLayout from "@/layouts/mapLayout";
import AnalyseLayout from "@/layouts/analyseLayout";
import Scenic from "@/pages/map/scenic";
// import Resource from "@/pages/map/resource";
// import RoadCongestion from "@/pages/map/roadCongestion";
// import NewMedia from "@/pages/map/newMedia";
// import Forewarning from "@/pages/map/forewarning";

export default {
    //所有以地图为底图的页面，都需要在MapLayout下
    path: 'map',
    component: AnalyseLayout,
    children: [
        {
            //景区
            path: 'scenic',
            component: Scenic,
        },
        // {
        //     //资源类型
        //     path: 'resource',
        //     component: Resource,
        // },
        // {
        //     //道路监控
        //     path: 'road',
        //     component: RoadCongestion
        // },
        
        // {
        //     //新媒体
        //     path: 'newMedia',
        //     component: NewMedia,
        // },
        // {
        //     //预警
        //     path: 'forewarning',
        //     component: Forewarning,
        // }
    ]
}